package cn.gok.plusdemo.service.impl;

import cn.gok.plusdemo.entity.Clazz;
import cn.gok.plusdemo.dao.ClazzDao;
import cn.gok.plusdemo.service.ClazzService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 林
 * @since 2022-07-22
 */
@Service
public class ClazzServiceImpl extends ServiceImpl<ClazzDao, Clazz> implements ClazzService {
    @Autowired
    private ClazzDao clazzDao;

    @Override
    public Clazz findClazzAndStudent(long id) {
        return clazzDao.findClazzAndStudent(id);
    }
}
